<template>
  <div class="home-page">
    <h2>鼠标位置在 X: {{ x }}, Y: {{ y }}</h2>
  </div>
</template>

<script setup>
import { useMouse } from '@/composables/mouse'

const { x, y } = useMouse()
</script>

<style scoped>
.home-page {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>